package com.baidu.travel.dao;

import com.baidu.travel.domain.Logtable;
import com.baidu.travel.domain.QueryCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LogtableDao {
    /**
     * 日志保存
     * @param log
     * @return
     */
    int insert(Logtable log);

    /**
     * 分页条件查询日志
     * @param queryCondition
     * @return
     */
    List<Logtable> getByPage(QueryCondition queryCondition);

    /**
     * 查询满足分页条件总日志数
     * @return
     */

    Integer getCount(QueryCondition queryCondition);
}
